import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import elementui from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'font-awesome/css/font-awesome.min.css'
import axios from 'axios'
import service, { service1 } from './service'
import uploader from 'vue-simple-uploader'

Vue.prototype.axios = axios //挂载到原型，可在全局使用
Vue.prototype.service = service //service 挂载到原型，可在全局使用
Vue.prototype.service1 = service1 //service 挂载到原型，可在全局使用

Vue.config.productionTip = false

Vue.use(elementui)
Vue.use(uploader)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
